﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AdmProveedor.aspx.cs" Inherits="Administrador_AdmProveedor" %>

<%@ Register src="Controles/vfProveedor.ascx" tagname="vfProveedor" tagprefix="uc1" %>

<%@ Register src="Controles/vdProveedor.ascx" tagname="vdProveedor" tagprefix="uc2" %>

<%@ Register src="Controles/ucLinks.ascx" tagname="ucLinks" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server" >
<script language="javascript" type="text/javascript" src="../Scripts/comunes.js"></script>
    <script language="javascript" type="text/javascript">
        function abrirPopUp(idSeleccionado) 
        {
            
            var dir = '../Comunes/popup.htm?URL=../Administrador/Edicion/Edicion.aspx';


            if (idSeleccionado != null)
                dir += '?idSeleccionado=' + idSeleccionado;
                
            var ret = OpenModalDialog(dir, null, 'status:no;help:no;scroll:no;dialogWidth:600px;dialogHeight:400px;');
            if (ret != null && ret) {
                window.event.returnValue = true;
                return true;
            }
            else {
                window.event.returnValue = false;
                return false;
            }
        }
            
    </script>
    <div>
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td colspan="3">
                    <asp:ValidationSummary ID="ValidationSummary" runat="server" ShowMessageBox="false" ShowSummary="False" />
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <table cellspacing="0" cellpadding="0" border="0" width="264px">
                        <tr>
                            <td><img src="../Imag/verde_top.png" alt="" width="264" height="15" /></td>
                        </tr>
                        <tr>
                            <td class="lp_blk2" >
                                <asp:Label ID="lblTitHelpSearch" runat="server" CssClass="tit_verde" Font-Bold="true" Text="Opciones:"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="lp_blk2" >
                                &nbsp;
                                <uc3:ucLinks ID="ucLinks1" runat="server" />
                            </td>
                        </tr>
                        <tr >
                            <td align="right" class="lp_blk2" >
                                <asp:Label ID="Label1" runat="server" CssClass="tit_verde" Text="Tambien podemos poner propagandas o cosas por el estilo"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td><img src="../Imag/verde_bottom.png" alt="" width="264" height="14" /></td>
                        </tr>
                    </table>
                </td>
                <td>
                    <table cellspacing="0" cellpadding="0" border="0" width="70%">
                        <tr>
                            <td><img src="../Imag/celeste_Top.png" alt="" height="15" /></td>
                        </tr>
                        <tr>
                            <td class="lp_blk1" align="center">
                                <asp:Label ID="lblTit" runat="server" Text="Administración de proveedores" CssClass="tit_azul" Font-Bold="true"></asp:Label>
                                <br />
                                <uc1:vfProveedor ID="vfProveedor" runat="server" />
                            </td>
                        </tr>
                        
                        <tr>
                            <td><img src="../Imag/celeste_Bottom.png" alt=""  height="15" /></td>
                        </tr>
                        
                        <tr>
                            <td>&nbsp;</td>
                        </tr>
                        
                        <tr>
                            <td align="right">
                                <asp:Button ID="btnBuscar" runat="server" Text="Buscar" Width="100px"  
                                    CssClass="BotonCeleste" onclick="btnBuscar_Click"/>
                                &nbsp;
                                <asp:Button ID="btnLimpiar" runat="server" Text="Limpiar" Width="100px" 
                                    CausesValidation="False"  CssClass="BotonCeleste" onclick="btnLimpiar_Click"/>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td><img src="../Imag/celeste_Top.png" alt="" height="15" /></td>
                        </tr>
                        <tr>
                            <td class="lp_blk1" align="center">
                                <uc2:vdProveedor ID="vdProveedor" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td><img src="../Imag/celeste_Bottom.png" alt=""  height="15" /></td>
                        </tr>
                    </table>
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>        
    </div>
</asp:Content>
